package com.oddpointcc.szpt.accounting.component;

import java.util.LinkedHashMap;

/**
 * 面包屑视图模型
 * 
 * @author yzx
 *
 */
public class BreadCrumbView {

	/**
	 * 当前页Label
	 */
	private String currentLabel;
	/**
	 * key为Label,value为处理过URL
	 */
	private LinkedHashMap<String, String> breadCrumbs;

	public BreadCrumbView() {
		breadCrumbs = new LinkedHashMap<>();
	}

	public BreadCrumbView(String currentLabel) {
		this.currentLabel = currentLabel;
		breadCrumbs = new LinkedHashMap<>();
	}

	public BreadCrumbView(String currentLabel, LinkedHashMap<String, String> breadCrumbs) {
		this.currentLabel = currentLabel;
		this.breadCrumbs = breadCrumbs;
	}

	public String getCurrentLabel() {
		return currentLabel;
	}

	public void setCurrentLabel(String currentLabel) {
		this.currentLabel = currentLabel;
	}

	public LinkedHashMap<String, String> getBreadCrumbs() {
		return breadCrumbs;
	}

	public void setBreadCrumbs(LinkedHashMap<String, String> breadCrumbs) {
		this.breadCrumbs = breadCrumbs;
	}

}
